package org.nimi317.web_gis.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.nimi317.web_gis.form.post.Page;
import org.nimi317.web_gis.entity.User;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author nimi317
 * @since 2024-04-13
 */
public interface IUserService extends IService<User> {

    boolean existByEmail(String email);

    User getByEmail(String email);

    User createByEmail(String email, String uName);

    com.baomidou.mybatisplus.extension.plugins.pagination.Page<User> pageUser(Page page);
}
